Dynomotion

Group: DynoMotion Message: 6147 From: somethingfree123 Date: 11/23/2012
Subject: Tool setup and Jog Speeds
Hi all,

I just got my tree 310 setup and running with the Kflop as a replacement for my Dynapath 10. It's been running like a champ but I have a few things I need to clear up:

1) I have the jog set to 16 in/sec in the trajectory setup screen. But, my jog runs at about 1" in/minute. Is there a way to speed this up? When I run G-code I can get 250 in/min no problem....

2) I used to be able to calibrate my tool lengths based on the 0 for the z axis. But, it appears as if I have to hand type the offsets into the tool setup when I install a new cutter head. Or reset the 0 reference? Is there an easier way to calibrate my tool lengths?

I'm already very impressed with the setup and had a great time writing some scripts to enable and disable based on inputs/outputs. The learning curve is super easy for the most part.

Thanks in advance for any help,
Ryan
Group: DynoMotion Message: 6150 From: Tom Kerekes Date: 11/23/2012
Subject: Re: Tool setup and Jog Speeds
Hi Ryan,

1- Not sure why you get low jog speeds.  The acceleration and jerk in KFLOP are used for Jogging.  Are those set reasonably?

2 - Not sure what you mean.  You want a button to set the tool length in the tool table somehow?

Regards
TK

Group: DynoMotion Message: 6155 From: somethingfree123 Date: 11/24/2012
Subject: Re: Tool setup and Jog Speeds
Hi TK,

1) I'll check those values today. Maybe I fat fingered them.

2) It would be nice to have a calibrate button under the tool selection on the main screen in KmotionCNC(currently just have "Edit"). Ttat way you can quickly set your tool lengths. It's nice that you can edit by hitting the "Edit" button but, most likely you're editing the tool length? To boil it down, here's how it would work: You jog and touch the part with the tool, then select the tool from the dropdown. Then click "calib" which would be right underneath Edit." Quick and simple. Just brainstorming on making it some even more kick-butt software:)

3) Another thing I would like to script is checking the status of an axis. When I hit the stop button it disables my axis. But, my analog servos wander if I don't kill control power. So, if I can disable control power is the axis is disabled it would make it pretty easy. Another though would be if it's possible to change the "Stop" buttons action? If there is, I could clear the control power output in the button script.

Thanks,
Ryan

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ryan,
>
> 1- Not sure why you get low jog speeds.  The acceleration and jerk in KFLOP are used for Jogging.  Are those set reasonably?
>
> 2 - Not sure what you mean.  You want a button to set the tool length in the tool table somehow?
>
> Regards
> TK
>
>
>
>
> ________________________________
> From: somethingfree123 <stuffseller@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, November 23, 2012 1:58 PM
> Subject: [DynoMotion] Tool setup and Jog Speeds
>
>
>  
> Hi all,
>
> I just got my tree 310 setup and running with the Kflop as a replacement for my Dynapath 10. It's been running like a champ but I have a few things I need to clear up:
>
> 1) I have the jog set to 16 in/sec in the trajectory setup screen. But, my jog runs at about 1" in/minute. Is there a way to speed this up? When I run G-code I can get 250 in/min no problem....
>
> 2) I used to be able to calibrate my tool lengths based on the 0 for the z axis. But, it appears as if I have to hand type the offsets into the tool setup when I install a new cutter head. Or reset the 0 reference? Is there an easier way to calibrate my tool lengths?
>
> I'm already very impressed with the setup and had a great time writing some scripts to enable and disable based on inputs/outputs. The learning curve is super easy for the most part.
>
> Thanks in advance for any help,
> Ryan
>
Group: DynoMotion Message: 6156 From: Tom Kerekes Date: 11/24/2012
Subject: Re: Tool setup and Jog Speeds
Hi Ryan,

Regarding

#2 I guess you are assuming the Toll offset should be adjusted to make the current Z position in GCode Coordinates zero?

#3 You can add a "watchdog" C program that will monitor all the relevant axis enables and if any are disabled then disable the amplifiers.  See the WatchEnable.c example.

Regards
TK

Group: DynoMotion Message: 6157 From: somethingfree123 Date: 11/24/2012
Subject: Re: Tool setup and Jog Speeds
Hi TK,

2) Yes, that is my assumption. Sorry, my only experience is with the dynapath and I would set 0 with the first tool sitting on the top of the part. Then set an offset for each additional tool. Is there a better way to offset the tool heights? I know this is more theory but I would love some tips!

3) That's what I was looking for. I didn't realize that was a readable value. Thanks once again!

Thanks,
Ryan

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ryan,
>
> Regarding
>
> #2 I guess you are assuming the Toll offset should be adjusted to make the current Z position in GCode Coordinates zero?
>
> #3 You can add a "watchdog" C program that will monitor all the relevant axis enables and if any are disabled then disable the amplifiers.  See the WatchEnable.c example.
>
> Regards
> TK
>
>
>
> ________________________________
> From: somethingfree123 <stuffseller@...>
> To: DynoMotion@yahoogroups.com
> Sent: Saturday, November 24, 2012 12:03 PM
> Subject: [DynoMotion] Re: Tool setup and Jog Speeds
>
>
>  
> Hi TK,
>
> 1) I'll check those values today. Maybe I fat fingered them.
>
> 2) It would be nice to have a calibrate button under the tool selection on the main screen in KmotionCNC(currently just have "Edit"). Ttat way you can quickly set your tool lengths. It's nice that you can edit by hitting the "Edit" button but, most likely you're editing the tool length? To boil it down, here's how it would work: You jog and touch the part with the tool, then select the tool from the dropdown. Then click "calib" which would be right underneath Edit." Quick and simple. Just brainstorming on making it some even more kick-butt software:)
>
> 3) Another thing I would like to script is checking the status of an axis. When I hit the stop button it disables my axis. But, my analog servos wander if I don't kill control power. So, if I can disable control power is the axis is disabled it would make it pretty easy. Another though would be if it's possible to change the "Stop" buttons action? If there is, I could clear the control power output in the button script.
>
> Thanks,
> Ryan
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ryan,
> >
> > 1- Not sure why you get low jog speeds.  The acceleration and jerk in KFLOP are used for Jogging.  Are those set reasonably?
> >
> > 2 - Not sure what you mean.  You want a button to set the tool length in the tool table somehow?
> >
> > Regards
> > TK
> >
> >
> >
> >
> > ________________________________
> > From: somethingfree123 <stuffseller@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Friday, November 23, 2012 1:58 PM
> > Subject: [DynoMotion] Tool setup and Jog Speeds
> >
> >
> >  
> > Hi all,
> >
> > I just got my tree 310 setup and running with the Kflop as a replacement for my Dynapath 10. It's been running like a champ but I have a few things I need to clear up:
> >
> > 1) I have the jog set to 16 in/sec in the trajectory setup screen. But, my jog runs at about 1" in/minute. Is there a way to speed this up? When I run G-code I can get 250 in/min no problem....
> >
> > 2) I used to be able to calibrate my tool lengths based on the 0 for the z axis. But, it appears as if I have to hand type the offsets into the tool setup when I install a new cutter head. Or reset the 0 reference? Is there an easier way to calibrate my tool lengths?
> >
> > I'm already very impressed with the setup and had a great time writing some scripts to enable and disable based on inputs/outputs. The learning curve is super easy for the most part.
> >
> > Thanks in advance for any help,
> > Ryan
> >
>
Group: DynoMotion Message: 6158 From: tmday7 Date: 11/25/2012
Subject: Re: Tool setup and Jog Speeds
Hi Tom,
Dont know if this may help, but below is the VB i have in my Set Tool Offset button for Mach3.

Tool_Num = GetDRO (24)'Current Tool Number
If Tool_Num <>0 Then
Z_Shift = GetOEMDRO (1002)'Gage Block Height
Z_Offset = GetOEMDRO ( 49 )'Part Z Offset DRO
Axis_Pos = GetOEMDRO(85)'Z Machine Coord DRO
Tool_Offset = Axis_Pos - Z_Offset -Z_Shift
Call setOEMDRO(42, Tool_Offset)
End If
code "G49"

I think this is what Ryan is after. Its works a little different than the way Dynapath does. The down side to the Dynapaths i ran is if you break tool number one and have to set the zero at a different location for tool #1, then you have to re calibrate all the other tools.

The way mine works, you dont have to worry about Tool#1 or any other tool throwing off the tool offsets. And when any Tool offset is active, the Z readout will display 0.0000 at the top of part for any tool.
Dont know how this would work in KmotionCNC, only putting out the idea.

HTH,
Troy


--- In DynoMotion@yahoogroups.com, "somethingfree123" <stuffseller@...> wrote:
>
> Hi TK,
>
> 2) Yes, that is my assumption. Sorry, my only experience is with the dynapath and I would set 0 with the first tool sitting on the top of the part. Then set an offset for each additional tool. Is there a better way to offset the tool heights? I know this is more theory but I would love some tips!
>
> 3) That's what I was looking for. I didn't realize that was a readable value. Thanks once again!
>
> Thanks,
> Ryan
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ryan,
> >
> > Regarding
> >
> > #2 I guess you are assuming the Toll offset should be adjusted to make the current Z position in GCode Coordinates zero?
> >
> > #3 You can add a "watchdog" C program that will monitor all the relevant axis enables and if any are disabled then disable the amplifiers.  See the WatchEnable.c example.
> >
> > Regards
> > TK
> >
> >
> >
> > ________________________________
> > From: somethingfree123 <stuffseller@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Saturday, November 24, 2012 12:03 PM
> > Subject: [DynoMotion] Re: Tool setup and Jog Speeds
> >
> >
> >  
> > Hi TK,
> >
> > 1) I'll check those values today. Maybe I fat fingered them.
> >
> > 2) It would be nice to have a calibrate button under the tool selection on the main screen in KmotionCNC(currently just have "Edit"). Ttat way you can quickly set your tool lengths. It's nice that you can edit by hitting the "Edit" button but, most likely you're editing the tool length? To boil it down, here's how it would work: You jog and touch the part with the tool, then select the tool from the dropdown. Then click "calib" which would be right underneath Edit." Quick and simple. Just brainstorming on making it some even more kick-butt software:)
> >
> > 3) Another thing I would like to script is checking the status of an axis. When I hit the stop button it disables my axis. But, my analog servos wander if I don't kill control power. So, if I can disable control power is the axis is disabled it would make it pretty easy. Another though would be if it's possible to change the "Stop" buttons action? If there is, I could clear the control power output in the button script.
> >
> > Thanks,
> > Ryan
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Ryan,
> > >
> > > 1- Not sure why you get low jog speeds.  The acceleration and jerk in KFLOP are used for Jogging.  Are those set reasonably?
> > >
> > > 2 - Not sure what you mean.  You want a button to set the tool length in the tool table somehow?
> > >
> > > Regards
> > > TK
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: somethingfree123 <stuffseller@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Friday, November 23, 2012 1:58 PM
> > > Subject: [DynoMotion] Tool setup and Jog Speeds
> > >
> > >
> > >  
> > > Hi all,
> > >
> > > I just got my tree 310 setup and running with the Kflop as a replacement for my Dynapath 10. It's been running like a champ but I have a few things I need to clear up:
> > >
> > > 1) I have the jog set to 16 in/sec in the trajectory setup screen. But, my jog runs at about 1" in/minute. Is there a way to speed this up? When I run G-code I can get 250 in/min no problem....
> > >
> > > 2) I used to be able to calibrate my tool lengths based on the 0 for the z axis. But, it appears as if I have to hand type the offsets into the tool setup when I install a new cutter head. Or reset the 0 reference? Is there an easier way to calibrate my tool lengths?
> > >
> > > I'm already very impressed with the setup and had a great time writing some scripts to enable and disable based on inputs/outputs. The learning curve is super easy for the most part.
> > >
> > > Thanks in advance for any help,
> > > Ryan
> > >
> >
>
Group: DynoMotion Message: 6162 From: somethingfree123 Date: 11/25/2012
Subject: Re: Tool setup and Jog Speeds
Hi Troy,

That's pretty much what I'm trying to do. I suppose I can just do it in a script when I learn a bit more about Kflop. But, the biggest hurdle will be reading the tool setup. I wonder if there's a command in the library or if I'll have to parse the file?

Thanks,
Ryan

--- In DynoMotion@yahoogroups.com, "tmday7" <brotroy7@...> wrote:
>
> Hi Tom,
> Dont know if this may help, but below is the VB i have in my Set Tool Offset button for Mach3.
>
> Tool_Num = GetDRO (24)'Current Tool Number
> If Tool_Num <>0 Then
> Z_Shift = GetOEMDRO (1002)'Gage Block Height
> Z_Offset = GetOEMDRO ( 49 )'Part Z Offset DRO
> Axis_Pos = GetOEMDRO(85)'Z Machine Coord DRO
> Tool_Offset = Axis_Pos - Z_Offset -Z_Shift
> Call setOEMDRO(42, Tool_Offset)
> End If
> code "G49"
>
> I think this is what Ryan is after. Its works a little different than the way Dynapath does. The down side to the Dynapaths i ran is if you break tool number one and have to set the zero at a different location for tool #1, then you have to re calibrate all the other tools.
>
> The way mine works, you dont have to worry about Tool#1 or any other tool throwing off the tool offsets. And when any Tool offset is active, the Z readout will display 0.0000 at the top of part for any tool.
> Dont know how this would work in KmotionCNC, only putting out the idea.
>
> HTH,
> Troy
>
>
> --- In DynoMotion@yahoogroups.com, "somethingfree123" <stuffseller@> wrote:
> >
> > Hi TK,
> >
> > 2) Yes, that is my assumption. Sorry, my only experience is with the dynapath and I would set 0 with the first tool sitting on the top of the part. Then set an offset for each additional tool. Is there a better way to offset the tool heights? I know this is more theory but I would love some tips!
> >
> > 3) That's what I was looking for. I didn't realize that was a readable value. Thanks once again!
> >
> > Thanks,
> > Ryan
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Ryan,
> > >
> > > Regarding
> > >
> > > #2 I guess you are assuming the Toll offset should be adjusted to make the current Z position in GCode Coordinates zero?
> > >
> > > #3 You can add a "watchdog" C program that will monitor all the relevant axis enables and if any are disabled then disable the amplifiers.  See the WatchEnable.c example.
> > >
> > > Regards
> > > TK
> > >
> > >
> > >
> > > ________________________________
> > > From: somethingfree123 <stuffseller@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Saturday, November 24, 2012 12:03 PM
> > > Subject: [DynoMotion] Re: Tool setup and Jog Speeds
> > >
> > >
> > >  
> > > Hi TK,
> > >
> > > 1) I'll check those values today. Maybe I fat fingered them.
> > >
> > > 2) It would be nice to have a calibrate button under the tool selection on the main screen in KmotionCNC(currently just have "Edit"). Ttat way you can quickly set your tool lengths. It's nice that you can edit by hitting the "Edit" button but, most likely you're editing the tool length? To boil it down, here's how it would work: You jog and touch the part with the tool, then select the tool from the dropdown. Then click "calib" which would be right underneath Edit." Quick and simple. Just brainstorming on making it some even more kick-butt software:)
> > >
> > > 3) Another thing I would like to script is checking the status of an axis. When I hit the stop button it disables my axis. But, my analog servos wander if I don't kill control power. So, if I can disable control power is the axis is disabled it would make it pretty easy. Another though would be if it's possible to change the "Stop" buttons action? If there is, I could clear the control power output in the button script.
> > >
> > > Thanks,
> > > Ryan
> > >
> > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > >
> > > > Hi Ryan,
> > > >
> > > > 1- Not sure why you get low jog speeds.  The acceleration and jerk in KFLOP are used for Jogging.  Are those set reasonably?
> > > >
> > > > 2 - Not sure what you mean.  You want a button to set the tool length in the tool table somehow?
> > > >
> > > > Regards
> > > > TK
> > > >
> > > >
> > > >
> > > >
> > > > ________________________________
> > > > From: somethingfree123 <stuffseller@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Friday, November 23, 2012 1:58 PM
> > > > Subject: [DynoMotion] Tool setup and Jog Speeds
> > > >
> > > >
> > > >  
> > > > Hi all,
> > > >
> > > > I just got my tree 310 setup and running with the Kflop as a replacement for my Dynapath 10. It's been running like a champ but I have a few things I need to clear up:
> > > >
> > > > 1) I have the jog set to 16 in/sec in the trajectory setup screen. But, my jog runs at about 1" in/minute. Is there a way to speed this up? When I run G-code I can get 250 in/min no problem....
> > > >
> > > > 2) I used to be able to calibrate my tool lengths based on the 0 for the z axis. But, it appears as if I have to hand type the offsets into the tool setup when I install a new cutter head. Or reset the 0 reference? Is there an easier way to calibrate my tool lengths?
> > > >
> > > > I'm already very impressed with the setup and had a great time writing some scripts to enable and disable based on inputs/outputs. The learning curve is super easy for the most part.
> > > >
> > > > Thanks in advance for any help,
> > > > Ryan
> > > >
> > >
> >
>
Group: DynoMotion Message: 6163 From: Michael Rosenfield Date: 11/25/2012
Subject: Re: Tool setup and Jog Speeds
I have a Tree 2UVR-C that I put the KFlop/Kanalog on, and here is how I have approached the problem of tool length.
I use a 3D-Taster (which is a precision dial indicator that works in 3 axes) mounted in a tool holder, a height gauge, and a bench holder (that is also used to hold the tool holders to replace cutting tools).
I set the Taster in the bench holder (which has the tools facing upwards, of course) and set its z-dimension to 0. Then I zero the height gauge at the end of the Taster. 
Next, I put each toolholder, with tool inserted, into the bench holder, and measure the relative length, based on the already-set 0. I write down these numbers.
Next, I fill out the tool table in KMotionCNC for the relative length of each tool.
Finally, I put the Taster in the quill, and run it to 0 on the part surface. Now I set the machine's z axis to 0.
While this sounds like a pain, once set up, it moves very fast. And any tool can be changed, remeasured, and the tool file can be edited, without messing up any other tool.
I used to run a Bridgeport Series II with a Heidenheim control, and that was set up so that the machine Z was set to 0 with the longest tool in the quill, and then each tool was put in the quill and a special routine run to touch each tool to the 0 surface, and then each tool length was automatically recorded.
I have been unable to figure out how to do this with the Tree+Kmotion, but, as I said, the above process moves smoothly and swiftly, so I'm satisfied.
 
There is another part that I had to do handle my quill 0 (my machine was built with a manual quill) - if anyone is interested in those details, let me know, and I'll post the info.
 
Michael Rosenfield
 
Group: DynoMotion Message: 6180 From: somethingfree123 Date: 11/28/2012
Subject: Re: Tool setup and Jog Speeds
Hi Michel,

That sounds like a great idea. I like how the tools are independent of each other. If you used the chuck as the "bench holder" and hit it with the taster, then you wouldn't need the bench setup correct?


I set up a button in KMotionCNC to automatically write the current z value to the offset file. Once I get a digital probe set up, I will have a routine that will bump the taster or part and automatically setup the tool offsets in the background as well as manually with the button.

Here's some pictures of thee screen and teh tool menu before and after a tool calibration.

Not sure if this is a final process but it will get me started.

http://groups.yahoo.com/group/DynoMotion/photos/album/1454437558/pic/list

I know I kiss Dynomotion's butt a lot. But, I have to say again that this software (and hardware) is extremely well developed! I am having a great time customizing it!

Thanks,
Ryan

--- In DynoMotion@yahoogroups.com, Michael Rosenfield <mrosenfield@...> wrote:
>
>
> I have a Tree 2UVR-C that I put the KFlop/Kanalog on, and here is how I have approached the problem of tool length.I use a 3D-Taster (which is a precision dial indicator that works in 3 axes) mounted in a tool holder, a height gauge, and a bench holder (that is also used to hold the tool holders to replace cutting tools).I set the Taster in the bench holder (which has the tools facing upwards, of course) and set its z-dimension to 0. Then I zero the height gauge at the end of the Taster. Next, I put each toolholder, with tool inserted, into the bench holder, and measure the relative length, based on the already-set 0. I write down these numbers.Next, I fill out the tool table in KMotionCNC for the relative length of each tool.Finally, I put the Taster in the quill, and run it to 0 on the part surface. Now I set the machine's z axis to 0.While this sounds like a pain, once set up, it moves very fast. And any tool can be changed, remeasured, and the tool file can be edited, without messing up any other tool.I used to run a Bridgeport Series II with a Heidenheim control, and that was set up so that the machine Z was set to 0 with the longest tool in the quill, and then each tool was put in the quill and a special routine run to touch each tool to the 0 surface, and then each tool length was automatically recorded.I have been unable to figure out how to do this with the Tree+Kmotion, but, as I said, the above process moves smoothly and swiftly, so I'm satisfied. There is another part that I had to do handle my quill 0 (my machine was built with a manual quill) - if anyone is interested in those details, let me know, and I'll post the info. Michael Rosenfield
> To: DynoMotion@yahoogroups.com
> From: stuffseller@...
> Date: Sun, 25 Nov 2012 21:13:49 +0000
> Subject: [DynoMotion] Re: Tool setup and Jog Speeds
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hi Troy,
>
>
>
> That's pretty much what I'm trying to do. I suppose I can just do it in a script when I learn a bit more about Kflop. But, the biggest hurdle will be reading the tool setup. I wonder if there's a command in the library or if I'll have to parse the file?
>
>
>
> Thanks,
>
> Ryan
>
>
>
> --- In DynoMotion@yahoogroups.com, "tmday7" <brotroy7@> wrote:
>
> >
>
> > Hi Tom,
>
> > Dont know if this may help, but below is the VB i have in my Set Tool Offset button for Mach3.
>
> >
>
> > Tool_Num = GetDRO (24)'Current Tool Number
>
> > If Tool_Num <>0 Then
>
> > Z_Shift = GetOEMDRO (1002)'Gage Block Height
>
> > Z_Offset = GetOEMDRO ( 49 )'Part Z Offset DRO
>
> > Axis_Pos = GetOEMDRO(85)'Z Machine Coord DRO
>
> > Tool_Offset = Axis_Pos - Z_Offset -Z_Shift
>
> > Call setOEMDRO(42, Tool_Offset)
>
> > End If
>
> > code "G49"
>
> >
>
> > I think this is what Ryan is after. Its works a little different than the way Dynapath does. The down side to the Dynapaths i ran is if you break tool number one and have to set the zero at a different location for tool #1, then you have to re calibrate all the other tools.
>
> >
>
> > The way mine works, you dont have to worry about Tool#1 or any other tool throwing off the tool offsets. And when any Tool offset is active, the Z readout will display 0.0000 at the top of part for any tool.
>
> > Dont know how this would work in KmotionCNC, only putting out the idea.
>
> >
>
> > HTH,
>
> > Troy
>
> >
>
> >
>
> > --- In DynoMotion@yahoogroups.com, "somethingfree123" <stuffseller@> wrote:
>
> > >
>
> > > Hi TK,
>
> > >
>
> > > 2) Yes, that is my assumption. Sorry, my only experience is with the dynapath and I would set 0 with the first tool sitting on the top of the part. Then set an offset for each additional tool. Is there a better way to offset the tool heights? I know this is more theory but I would love some tips!
>
> > >
>
> > > 3) That's what I was looking for. I didn't realize that was a readable value. Thanks once again!
>
> > >
>
> > > Thanks,
>
> > > Ryan
>
> > >
>
> > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
>
> > > >
>
> > > > Hi Ryan,
>
> > > >
>
> > > > Regarding
>
> > > >
>
> > > > #2 I guess you are assuming the Toll offset should be adjusted to make the current Z position in GCode Coordinates zero?
>
> > > >
>
> > > > #3 You can add a "watchdog" C program that will monitor all the relevant axis enables and if any are disabled then disable the amplifiers. See the WatchEnable.c example.
>
> > > >
>
> > > > Regards
>
> > > > TK
>
> > > >
>
> > > >
>
> > > >
>
> > > > ________________________________
>
> > > > From: somethingfree123 <stuffseller@>
>
> > > > To: DynoMotion@yahoogroups.com
>
> > > > Sent: Saturday, November 24, 2012 12:03 PM
>
> > > > Subject: [DynoMotion] Re: Tool setup and Jog Speeds
>
> > > >
>
> > > >
>
> > > > Â
>
> > > > Hi TK,
>
> > > >
>
> > > > 1) I'll check those values today. Maybe I fat fingered them.
>
> > > >
>
> > > > 2) It would be nice to have a calibrate button under the tool selection on the main screen in KmotionCNC(currently just have "Edit"). Ttat way you can quickly set your tool lengths. It's nice that you can edit by hitting the "Edit" button but, most likely you're editing the tool length? To boil it down, here's how it would work: You jog and touch the part with the tool, then select the tool from the dropdown. Then click "calib" which would be right underneath Edit." Quick and simple. Just brainstorming on making it some even more kick-butt software:)
>
> > > >
>
> > > > 3) Another thing I would like to script is checking the status of an axis. When I hit the stop button it disables my axis. But, my analog servos wander if I don't kill control power. So, if I can disable control power is the axis is disabled it would make it pretty easy. Another though would be if it's possible to change the "Stop" buttons action? If there is, I could clear the control power output in the button script.
>
> > > >
>
> > > > Thanks,
>
> > > > Ryan
>
> > > >
>
> > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
>
> > > > >
>
> > > > > Hi Ryan,
>
> > > > >
>
> > > > > 1- Not sure why you get low jog speeds. The acceleration and jerk in KFLOP are used for Jogging. Are those set reasonably?
>
> > > > >
>
> > > > > 2 - Not sure what you mean. You want a button to set the tool length in the tool table somehow?
>
> > > > >
>
> > > > > Regards
>
> > > > > TK
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > >
>
> > > > > ________________________________
>
> > > > > From: somethingfree123 <stuffseller@>
>
> > > > > To: DynoMotion@yahoogroups.com
>
> > > > > Sent: Friday, November 23, 2012 1:58 PM
>
> > > > > Subject: [DynoMotion] Tool setup and Jog Speeds
>
> > > > >
>
> > > > >
>
> > > > > ÂÂ
>
> > > > > Hi all,
>
> > > > >
>
> > > > > I just got my tree 310 setup and running with the Kflop as a replacement for my Dynapath 10. It's been running like a champ but I have a few things I need to clear up:
>
> > > > >
>
> > > > > 1) I have the jog set to 16 in/sec in the trajectory setup screen. But, my jog runs at about 1" in/minute. Is there a way to speed this up? When I run G-code I can get 250 in/min no problem....
>
> > > > >
>
> > > > > 2) I used to be able to calibrate my tool lengths based on the 0 for the z axis. But, it appears as if I have to hand type the offsets into the tool setup when I install a new cutter head. Or reset the 0 reference? Is there an easier way to calibrate my tool lengths?
>
> > > > >
>
> > > > > I'm already very impressed with the setup and had a great time writing some scripts to enable and disable based on inputs/outputs. The learning curve is super easy for the most part.
>
> > > > >
>
> > > > > Thanks in advance for any help,
>
> > > > > Ryan
>
> > > > >
>
> > > >
>
> > >
>
> >
>
Group: DynoMotion Message: 6194 From: Michael Rosenfield Date: 12/1/2012
Subject: Re: Tool setup and Jog Speeds
Sorry, Ryan, I've been out of town.
I can't see any reason why the way you suggest wouldn't work just fine - I had the bench setup anyway, so I used it.
So, how do you write the z value to the offset file? I've done a lot of programming over the years - embedded processors, mostly - but not much with the Windows interface. Of course, I wrote and modified some of the C programs for the KFlop, but shied away from trying to do C++ programming to run under Windows. I would like to change a few things in the  KMotionCNC UI, but didn't want to take the time to get it working - had machining to do!

 Michael
Group: DynoMotion Message: 6226 From: somethingfree123 Date: 12/5/2012
Subject: Re: Tool setup and Jog Speeds
Hi Michel,

Ya, I'm all over the board on programming with programming as well. Mostly automation/script/ladder/embedded.

It is a bit of code since, in a text filw, it's more trouble to try and update the one value. So, in best practice, you write to a temporary file, then copy over the existing file. A majority of the file writing code is copied from the ToolSetupPage.

You get the current z-axis position from the Dialog item "IDC_tool." I read the most current values using ReadInterpPos(), then read what is displayed on the screen using GetDlgItemText()

<code>
*****InKmotionCNC.rc-->Dialog-->IDD_KMOTION_8_RESIZABLE_3_AXES
***Add a button
"IDC_CalibTool"

*****In KMotionCNCDlg.h
***Add to function declarations
void DisableKeyJog();
int EditToolFileOffsets(int ToolNbr, float NewLength);

*****In KMotionCNCDlg.cpp

***Add a event declaration
Inside BEGIN_MESSAGE_MAP(CKMotionCNCDlg, CDlgX){
add this line --> ON_BN_CLICKED(IDC_CalibTool, &CKMotionCNCDlg::OnBnClickedCalibtool)

***Add the two functions
void CKMotionCNCDlg::OnBnClickedCalibtool()
{
//Get current values
double x,y,z,a,b,c;
CString CurrTool;

if (ReadInterpPos(&x,&y,&z,&a,&b,&c)) return;
GetDlgItemText(IDC_tool, CurrTool);

EditToolFileOffsets(atoi(CurrTool), (float)z);
return;
}

int CKMotionCNCDlg::EditToolFileOffsets(int ToolNbr, float NewLength)
{
CString s,Comment;
int ID, Pocket;
double Diameter,Length;

FILE *fin = fopen(m_ToolFile,"rt");
FILE *fout = fopen(m_ToolFile+"tmp","wt");

if (!fin)
{
AfxMessageBox("Unable to open Tool Table file:\r\r" + m_ToolFile);
return 1;
}

if (!fout)
{
AfxMessageBox("Unable to write Temp Tool Table file:\r\r" + m_ToolFile + "tmp");
return 1;
}

if (!fgets(s.GetBufferSetLength(MAX_TOOL_LINE+1),MAX_TOOL_LINE,fin))
{
AfxMessageBox("Invalid Tool Table file (line 1):\r\r" + m_ToolFile);
fclose(fin);
return 1;
}

s.MakeUpper();

if (!s.Find("ID") ||!s.Find("DIAM") || !s.Find("LENGTH"))
{
AfxMessageBox("Invalid Tool Table file (line 1):\r\r" + m_ToolFile);
fclose(fin);
return 1;
}

int n,Tool=0,line=1;

fprintf(fout,"POCKET ID LENGTH DIAMETER COMMENT\n");
fprintf(fout,"\n");

while (!feof(fin))
{
fgets(s.GetBufferSetLength(MAX_TOOL_LINE+1),MAX_TOOL_LINE,fin);
s.ReleaseBuffer();

if (!feof(fin))
{
s.Remove('\n');
s.Remove('\r');

// remove whitespace
while (!s.IsEmpty() &&
(s.GetAt(0) == ' ' || s.GetAt(0) == '\t'))
s.Delete(0,1);

line++;

if (!s.IsEmpty())
{
int result = sscanf(s,"%d%d%lf%lf%n",&Pocket,&ID,&Length,&Diameter,&n);

if (result !=4)
{
CString err;
err.Format("Line %d doesn't have 4 valid numbers",line);
AfxMessageBox("Invalid Tool Table file:\r\r" + m_ToolFile + "\r\r" + err);
fclose(fin);
fclose(fout);
return 1;
}

s.Delete(0,n);

Comment = s;

// remove whitespace
while (!Comment.IsEmpty() &&
(Comment.GetAt(0) == ' ' || Comment.GetAt(0) == '\t'))
Comment.Delete(0,1);

if(ToolNbr == ID)
{
fprintf(fout,"%3d %6d %15.6f %15.6f %s\n",Pocket,ID,NewLength,Diameter,Comment);
} else {
fprintf(fout,"%3d %6d %15.6f %15.6f %s\n",Pocket,ID,Length,Diameter,Comment);
}

Tool++;
}
}
}
fclose(fin);
fclose(fout);

//replace file
if (remove(m_ToolFile) !=0) return 1;

if (rename(m_ToolFile + "tmp", m_ToolFile) != 0) return 1;

return 0;
}
</code>

--- In DynoMotion@yahoogroups.com, Michael Rosenfield <mrosenfield@...> wrote:
>
>
> Sorry, Ryan, I've been out of town.I can't see any reason why the way you suggest wouldn't work just fine - I had the bench setup anyway, so I used it.So, how do you write the z value to the offset file? I've done a lot of programming over the years - embedded processors, mostly - but not much with the Windows interface. Of course, I wrote and modified some of the C programs for the KFlop, but shied away from trying to do C++ programming to run under Windows. I would like to change a few things in the KMotionCNC UI, but didn't want to take the time to get it working - had machining to do!
> MichaelTo: DynoMotion@yahoogroups.com
> From: stuffseller@...
> Date: Wed, 28 Nov 2012 21:09:21 +0000
> Subject: [DynoMotion] Re: Tool setup and Jog Speeds
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hi Michel,
>
>
>
> That sounds like a great idea. I like how the tools are independent of each other. If you used the chuck as the "bench holder" and hit it with the taster, then you wouldn't need the bench setup correct?
>
>
>
> I set up a button in KMotionCNC to automatically write the current z value to the offset file. Once I get a digital probe set up, I will have a routine that will bump the taster or part and automatically setup the tool offsets in the background as well as manually with the button.
>
>
>
> Here's some pictures of thee screen and teh tool menu before and after a tool calibration.
>
>
>
> Not sure if this is a final process but it will get me started.
>
>
>
> http://groups.yahoo.com/group/DynoMotion/photos/album/1454437558/pic/list
>
>
>
> I know I kiss Dynomotion's butt a lot. But, I have to say again that this software (and hardware) is extremely well developed! I am having a great time customizing it!
>
>
>
> Thanks,
>
> Ryan
>
>
>
> --- In DynoMotion@yahoogroups.com, Michael Rosenfield <mrosenfield@> wrote:
>
> >
>
> >
>
> > I have a Tree 2UVR-C that I put the KFlop/Kanalog on, and here is how I have approached the problem of tool length.I use a 3D-Taster (which is a precision dial indicator that works in 3 axes) mounted in a tool holder, a height gauge, and a bench holder (that is also used to hold the tool holders to replace cutting tools).I set the Taster in the bench holder (which has the tools facing upwards, of course) and set its z-dimension to 0. Then I zero the height gauge at the end of the Taster. Next, I put each toolholder, with tool inserted, into the bench holder, and measure the relative length, based on the already-set 0. I write down these numbers.Next, I fill out the tool table in KMotionCNC for the relative length of each tool.Finally, I put the Taster in the quill, and run it to 0 on the part surface. Now I set the machine's z axis to 0.While this sounds like a pain, once set up, it moves very fast. And any tool can be changed, remeasured, and the tool file can be edited, without messing up any other tool.I used to run a Bridgeport Series II with a Heidenheim control, and that was set up so that the machine Z was set to 0 with the longest tool in the quill, and then each tool was put in the quill and a special routine run to touch each tool to the 0 surface, and then each tool length was automatically recorded.I have been unable to figure out how to do this with the Tree+Kmotion, but, as I said, the above process moves smoothly and swiftly, so I'm satisfied. There is another part that I had to do handle my quill 0 (my machine was built with a manual quill) - if anyone is interested in those details, let me know, and I'll post the info. Michael Rosenfield
>
> > To: DynoMotion@yahoogroups.com
>
> > From: stuffseller@
>
> > Date: Sun, 25 Nov 2012 21:13:49 +0000
>
> > Subject: [DynoMotion] Re: Tool setup and Jog Speeds
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > Hi Troy,
>
> >
>
> >
>
> >
>
> > That's pretty much what I'm trying to do. I suppose I can just do it in a script when I learn a bit more about Kflop. But, the biggest hurdle will be reading the tool setup. I wonder if there's a command in the library or if I'll have to parse the file?
>
> >
>
> >
>
> >
>
> > Thanks,
>
> >
>
> > Ryan
>
> >
>
> >
>
> >
>
> > --- In DynoMotion@yahoogroups.com, "tmday7" <brotroy7@> wrote:
>
> >
>
> > >
>
> >
>
> > > Hi Tom,
>
> >
>
> > > Dont know if this may help, but below is the VB i have in my Set Tool Offset button for Mach3.
>
> >
>
> > >
>
> >
>
> > > Tool_Num = GetDRO (24)'Current Tool Number
>
> >
>
> > > If Tool_Num <>0 Then
>
> >
>
> > > Z_Shift = GetOEMDRO (1002)'Gage Block Height
>
> >
>
> > > Z_Offset = GetOEMDRO ( 49 )'Part Z Offset DRO
>
> >
>
> > > Axis_Pos = GetOEMDRO(85)'Z Machine Coord DRO
>
> >
>
> > > Tool_Offset = Axis_Pos - Z_Offset -Z_Shift
>
> >
>
> > > Call setOEMDRO(42, Tool_Offset)
>
> >
>
> > > End If
>
> >
>
> > > code "G49"
>
> >
>
> > >
>
> >
>
> > > I think this is what Ryan is after. Its works a little different than the way Dynapath does. The down side to the Dynapaths i ran is if you break tool number one and have to set the zero at a different location for tool #1, then you have to re calibrate all the other tools.
>
> >
>
> > >
>
> >
>
> > > The way mine works, you dont have to worry about Tool#1 or any other tool throwing off the tool offsets. And when any Tool offset is active, the Z readout will display 0.0000 at the top of part for any tool.
>
> >
>
> > > Dont know how this would work in KmotionCNC, only putting out the idea.
>
> >
>
> > >
>
> >
>
> > > HTH,
>
> >
>
> > > Troy
>
> >
>
> > >
>
> >
>
> > >
>
> >
>
> > > --- In DynoMotion@yahoogroups.com, "somethingfree123" <stuffseller@> wrote:
>
> >
>
> > > >
>
> >
>
> > > > Hi TK,
>
> >
>
> > > >
>
> >
>
> > > > 2) Yes, that is my assumption. Sorry, my only experience is with the dynapath and I would set 0 with the first tool sitting on the top of the part. Then set an offset for each additional tool. Is there a better way to offset the tool heights? I know this is more theory but I would love some tips!
>
> >
>
> > > >
>
> >
>
> > > > 3) That's what I was looking for. I didn't realize that was a readable value. Thanks once again!
>
> >
>
> > > >
>
> >
>
> > > > Thanks,
>
> >
>
> > > > Ryan
>
> >
>
> > > >
>
> >
>
> > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
>
> >
>
> > > > >
>
> >
>
> > > > > Hi Ryan,
>
> >
>
> > > > >
>
> >
>
> > > > > Regarding
>
> >
>
> > > > >
>
> >
>
> > > > > #2 I guess you are assuming the Toll offset should be adjusted to make the current Z position in GCode Coordinates zero?
>
> >
>
> > > > >
>
> >
>
> > > > > #3 You can add a "watchdog" C program that will monitor all the relevant axis enables and if any are disabled then disable the amplifiers. See the WatchEnable.c example.
>
> >
>
> > > > >
>
> >
>
> > > > > Regards
>
> >
>
> > > > > TK
>
> >
>
> > > > >
>
> >
>
> > > > >
>
> >
>
> > > > >
>
> >
>
> > > > > ________________________________
>
> >
>
> > > > > From: somethingfree123 <stuffseller@>
>
> >
>
> > > > > To: DynoMotion@yahoogroups.com
>
> >
>
> > > > > Sent: Saturday, November 24, 2012 12:03 PM
>
> >
>
> > > > > Subject: [DynoMotion] Re: Tool setup and Jog Speeds
>
> >
>
> > > > >
>
> >
>
> > > > >
>
> >
>
> > > > > Â
>
> >
>
> > > > > Hi TK,
>
> >
>
> > > > >
>
> >
>
> > > > > 1) I'll check those values today. Maybe I fat fingered them.
>
> >
>
> > > > >
>
> >
>
> > > > > 2) It would be nice to have a calibrate button under the tool selection on the main screen in KmotionCNC(currently just have "Edit"). Ttat way you can quickly set your tool lengths. It's nice that you can edit by hitting the "Edit" button but, most likely you're editing the tool length? To boil it down, here's how it would work: You jog and touch the part with the tool, then select the tool from the dropdown. Then click "calib" which would be right underneath Edit." Quick and simple. Just brainstorming on making it some even more kick-butt software:)
>
> >
>
> > > > >
>
> >
>
> > > > > 3) Another thing I would like to script is checking the status of an axis. When I hit the stop button it disables my axis. But, my analog servos wander if I don't kill control power. So, if I can disable control power is the axis is disabled it would make it pretty easy. Another though would be if it's possible to change the "Stop" buttons action? If there is, I could clear the control power output in the button script.
>
> >
>
> > > > >
>
> >
>
> > > > > Thanks,
>
> >
>
> > > > > Ryan
>
> >
>
> > > > >
>
> >
>
>
> > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
>
> >
>
> > > > > >
>
> >
>
> > > > > > Hi Ryan,
>
> >
>
> > > > > >
>
> >
>
> > > > > > 1- Not sure why you get low jog speeds. The acceleration and jerk in KFLOP are used for Jogging. Are those set reasonably?
>
> >
>
> > > > > >
>
> >
>
> > > > > > 2 - Not sure what you mean. You want a button to set the tool length in the tool table somehow?
>
> >
>
> > > > > >
>
> >
>
> > > > > > Regards
>
> >
>
> > > > > > TK
>
> >
>
> > > > > >
>
> >
>
> > > > > >
>
> >
>
> > > > > >
>
> >
>
> > > > > >
>
> >
>
> > > > > > ________________________________
>
> >
>
> > > > > > From: somethingfree123 <stuffseller@>
>
> >
>
> > > > > > To: DynoMotion@yahoogroups.com
>
> >
>
> > > > > > Sent: Friday, November 23, 2012 1:58 PM
>
> >
>
> > > > > > Subject: [DynoMotion] Tool setup and Jog Speeds
>
> >
>
> > > > > >
>
> >
>
> > > > > >
>
> >
>
> > > > > > ÂÂ
>
> >
>
> > > > > > Hi all,
>
> >
>
> > > > > >
>
> >
>
> > > > > > I just got my tree 310 setup and running with the Kflop as a replacement for my Dynapath 10. It's been running like a champ but I have a few things I need to clear up:
>
> >
>
> > > > > >
>
> >
>
> > > > > > 1) I have the jog set to 16 in/sec in the trajectory setup screen. But, my jog runs at about 1" in/minute. Is there a way to speed this up? When I run G-code I can get 250 in/min no problem....
>
> >
>
> > > > > >
>
> >
>
> > > > > > 2) I used to be able to calibrate my tool lengths based on the 0 for the z axis. But, it appears as if I have to hand type the offsets into the tool setup when I install a new cutter head. Or reset the 0 reference? Is there an easier way to calibrate my tool lengths?
>
> >
>
> > > > > >
>
> >
>
> > > > > > I'm already very impressed with the setup and had a great time writing some scripts to enable and disable based on inputs/outputs. The learning curve is super easy for the most part.
>
> >
>
> > > > > >
>
> >
>
> > > > > > Thanks in advance for any help,
>
> >
>
> > > > > > Ryan
>
> >
>
> > > > > >
>
> >
>
> > > > >
>
> >
>
> > > >
>
> >
>
> > >
>
> >
>
Group: DynoMotion Message: 6242 From: Michael Rosenfield Date: 12/8/2012
Subject: Re: Tool setup and Jog Speeds
Thanks, Ryan.
I'll check this out as I have time.
Michael